<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>客户管理 - 石墨网络验证</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <h1>客户管理</h1>
        <div class="nav-links">
            <a href="index.html">返回销售页面</a>
            <a href="statistics.html">销售统计</a>
        </div>

        <div class="customer-management">
            <div class="add-customer-section">
                <h2>添加新客户</h2>
                <div class="form-group">
                    <label for="new-customer-name">客户名称:</label>
                    <input type="text" id="new-customer-name" placeholder="请输入客户名称">
                </div>
                <button id="confirm-add-customer" class="btn">确认添加</button>
            </div>

            <div class="customer-list-section">
                <h2>客户列表</h2>
                <table class="customer-table">
                    <thead>
                        <tr>
                            <th>客户名称</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="customer-list-body">
                        <!-- 客户列表将通过JavaScript动态添加 -->
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <script src="app.js"></script>
    <script src="customer_management.js"></script>
</body>
</html>